<%@ page contentType="text/html;charset=iso-8859-1" language="java" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title><spring:message code="WEBTITLE"/></title>
    <%@ include file="../include/style.jsp" %>
    <%@ include file="../include/script.jsp" %>
    
    <script type="text/javascript" src="<%=scriptPageContext %>/static/scripts/viewModel/markets.viewmodel.js"></script>
    <script type="text/javascript" src="<%=scriptPageContext %>/static/scripts/models/market-model.js"></script>
</head>
<body>

	<%@ include file="../include/top-public.jsp" %>

	<div class="container markets-container">
		
		<div class="row filter">
			<div class="col-md-12">
				<h3 class="title store"><i class="ico-shop"></i> <spring:message code="MARKETS"/></h3>
			</div>
		</div>

		<div class="row" data-bind="template: { name: 'market-template', foreach: markets, afterRender: showMarkets}"></div>
		<script type="text/html" id="market-template">
			<%@ include file="../templates/market-template.jsp" %>
		</script>

		<div class="row">
			<div class="col-md-12" data-bind="with: pager">
				<%@ include file="../templates/pager.jsp" %>
			</div>	
		</div>
		
		<%@ include file="../include/footer.jsp" %>

	</div>
</body>
</html>